import {Http, Response} from "@angular/http";
import {Observable} from "rxjs/Rx";
import {Injectable} from "@angular/core";
/**
 * Created by Administrator on 16-8-5.
 */
@Injectable()
export class FaqService{

    private http:Http;

    constructor(_http:Http){
        this.http = _http;
    }
    getFaq():Observable<Response>{
        let url="http://localhost:8888/exam/faq/faq.action";
        return this.http.request(url);
    }
}